public class Bird extends Animal implements IFlyable {
    public Bird(String name,int age){

        super(name,age);
    }

    public void eat(){
        System.out.println(this.name + "正在吃鸟食...");
    }


    @Override
    public void fly() {
        System.out.println(this.name + "正在飞翔...");
    }
}
